package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 *
 * @author blusr
 * @version 1.0
 * @date 2025/10/7 20:51
 */
@Service
public interface CourseService {
    PageResult<Course> Page(CourseDTO courseDTO);

    void add(Course course);

    void delete(Integer id);

    Course get(Integer id);

    void update(Course course);

    List<Course> list();

    List<Course> listSubject(String subject);
}
